package com.cnyz.dto;

import com.cnyz.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@ApiModel(description = "文件返回对象")
@Data()
public class CourseFileDto extends BaseDto {


    @ApiModelProperty(value = "课程")
    Long course;

    @ApiModelProperty(value = "文件命名")
    String name;

    @ApiModelProperty(value = "文件描述")
    String description;

    @ApiModelProperty(value="文件")
    MultipartFile multipartFile;

    @ApiModelProperty(value = "文本")
    String text;

}
